<?php defined("MAIN_DIR") or die("No direct access");

switch ($route->getPath(3)) {
	
	case "text":		require_once ASITE."text".DS.MAINFILE; break;
	case "users":		require_once ASITE."users".DS.MAINFILE; break;
	case "cities":		require_once ASITE."cities".DS.MAINFILE; break;
	case "polls":		require_once ASITE."polls".DS.MAINFILE; break;
	case "banners":		require_once ASITE."banners".DS.MAINFILE; break;
	
	default: to("/admin/site/text/");
}

?>